package cn.edu.xust.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 
 * 
 * @author ufo
 * @email 2575829997@qq.com
 * @date 2024-03-27 18:09:23
 */
@Data
@TableName("elecdata")
public class ElecdataEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;
	/**
	 * 
	 */
	private Integer gatewayid;
	/**
	 * 
	 */
	private Integer deviceid;
	/**
	 * 电压
	 */
	private String voltage;
	/**
	 * 电流
	 */
	private String eleccurrent;
	/**
	 * 用电量
	 */
	private String elecwattage;
	/**
	 * 电表上的id
	 */
	private String devicename;
	private String state;
	private String timetype;
	private String timetypeflag;
	/**
	 * 
	 */
	private Date ctime;

}
